#include "shape.h"

#ifndef TRIANGLE_H
#define TRIANGLE_H

class Triangle : public Shape
{
public:
    Triangle();
    Triangle(const Point &a, const Point &b, const Point &c);
    Triangle(int &x0, int &y0,
             int &x1, int &y1,
             int &x2, int &y2);
    ~Triangle();

    void        moveShape(const int &x, const int &);
    void        extensionShape(const double &scale);
    Point       getVertex(const int &index);
    std::string saveData();

private:
    Point vertex[3];
};

#endif // TRIANGLE_H
